.home-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-description {
  color: var(--color-muted);
  max-width: 60ch;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-status {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(37, 99, 235, 0.08);
}

.home-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.4);
  border-top-color: var(--color-primary);
  animation: home-spin 0.9s linear infinite;
}

@keyframes home-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-status[hidden] {
  display: none;
}

.home-status strong {
  font-size: 1.05rem;
}

.home-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-feature {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1rem;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.home-feature[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
}

.home-feature[aria-disabled="true"]:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-border);
  transform: none;
}

.home-feature:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.home-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.home-error {
  color: #dc2626;
}

.home-note {
  margin: 0.25rem 0 1.25rem;
  color: var(--color-text-subtle);
}
